home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / DRIVER.CAB / hpccom.gpd < prev    next >
Encoding:
Text File  |  1999-09-29  |  23.7 KB  |  701 lines

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *Include: "ttfsub.gpd"
  4. *Include: "hpccmac.gpd"
  5. *MasterUnits: PAIR(1200, 1200)
  6. *ResourceDLL: "hpclj5ui.dll"
  7. *HelpFile: "hpcclj.hlp"
  8. *PrinterType: PAGE
  9. *MaxCopies: 99
  10.  
  11. *PrintRate: 8
  12. *PrintRateUnit: PPM
  13. *PrintRatePPM: 8
  14.  
  15. *% A note about duplexing with orientation change: The NoPageEject
  16. *% command allows the second side to have a different orientation,
  17. *% but the top margin gets reset.  You need to add <1B>&l1E
  18. *% and NoPageEject to get both sides to work with differing 
  19. *% orientations.  Although the CLJ5 doesn't duplex the 4500 does.
  20.  
  21. *Feature: Orientation
  22. {
  23.     *rcNameID: =ORIENTATION_DISPLAY
  24.     *DefaultOption: PORTRAIT
  25.     *Option: PORTRAIT
  26.     {
  27.         *rcNameID: =PORTRAIT_DISPLAY
  28.         *Command: CmdSelect
  29.         {
  30.             *Order: DOC_SETUP.6
  31.             *NoPageEject?: TRUE
  32.             *Cmd: "<1B>&l0o1E"
  33. *%            *Cmd: "<1B>&l0O"
  34.         }
  35.     }
  36.     *Option: LANDSCAPE_CC90
  37.     {
  38.         *rcNameID: =LANDSCAPE_DISPLAY
  39.         *Command: CmdSelect
  40.         {
  41.             *Order: DOC_SETUP.6
  42.             *NoPageEject?: TRUE
  43.             *Cmd: "<1B>&l1o1E"
  44. *%            *Cmd: "<1B>&l1O"
  45.         }
  46.     }
  47. }
  48. *Feature: InputBin
  49. {
  50.     *rcNameID: =PAPER_SOURCE_DISPLAY
  51.     *DefaultOption: FRONT
  52.     *Option: FRONT
  53.     {
  54.         *rcNameID: =FRONT_FEED_DISPLAY
  55.         *Command: CmdSelect
  56.         {
  57.             *Order: DOC_SETUP.9
  58.             *Cmd: "<1B>&l1H"
  59.         }
  60.     }
  61.     *Option: REAR
  62.     {
  63.         *rcNameID: =REAR_FEED_DISPLAY
  64.         *Command: CmdSelect
  65.         {
  66.             *Order: DOC_SETUP.9
  67.             *Cmd: "<1B>&l4H"
  68.         }
  69.     }
  70.     *Option: MANUAL
  71.     {
  72.         *rcNameID: =MANUAL_FEED_DISPLAY
  73.         *Command: CmdSelect
  74.         {
  75.             *Order: DOC_SETUP.9
  76.             *Cmd: "<1B>&l2H"
  77.         }
  78.     }
  79. }
  80. *Feature: Resolution
  81. {
  82.     *rcNameID: =RESOLUTION_DISPLAY
  83.     *DefaultOption: Option1
  84.     *Option: Option1
  85.     {
  86.         *Name: "300 x 300 " =DOTS_PER_INCH
  87.         *DPI: PAIR(300, 300)
  88.         *TextDPI: PAIR(300, 300)
  89.         *MinStripBlankPixels: 32
  90.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  91.         *SpotDiameter: 100
  92.         *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  93.         *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  94.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95.         *Command: CmdSelect
  96.         {
  97.             *Order: DOC_SETUP.4
  98.             *Cmd: "<1B>%%-12345X"
  99. +                  "@PJL COMMENT HP Color LaserJet 5/5M "
  100. +                  "Version 0.56<0A>"
  101. +                  "@PJL SET RESOLUTION=300<0A>"
  102. +                  "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  103.         }
  104.     }
  105.     *Option: Option2
  106.     {
  107.         *Name: "150 x 150 " =DOTS_PER_INCH
  108.         *DPI: PAIR(150, 150)
  109.         *TextDPI: PAIR(300, 300)
  110.         *MinStripBlankPixels: 32
  111.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  112.         *SpotDiameter: 100
  113.         *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  114.         *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  115.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  116.         *Command: CmdSelect
  117.         {
  118.             *Order: DOC_SETUP.4
  119.             *Cmd: "<1B>%%-12345X"
  120. +                  "@PJL COMMENT HP Color LaserJet 5/5M "
  121. +                  "Version 0.56<0A>"
  122. +                  "@PJL SET RESOLUTION=150<0A>"
  123. +                  "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  124.         }
  125.     }
  126. }
  127.  
  128. *Feature: GraphicsMode
  129. {
  130.     *rcNameID: 141
  131.     *FeatureType: DOC_PROPERTY
  132.     *HelpIndex: 12000
  133.     *DefaultOption: HPGL2MODE
  134.     *Option: HPGL2MODE
  135.     {
  136.         *rcNameID: 122
  137.     }
  138.     *Option: RASTERMODE
  139.     {
  140.         *rcNameID: 123
  141.     }
  142. }
  143.  
  144. *Feature: ColorSmart
  145. {
  146.     *rcNameID: 145
  147.     *FeatureType: DOC_PROPERTY
  148.     *HelpIndex: 12001
  149.     *DefaultOption: COLORSMART
  150.     *Option: MANUAL
  151.     {
  152.         *rcNameID: 146
  153.     }
  154.     *Option: COLORSMART
  155.     {
  156.         *rcNameID: 144
  157.     }
  158. }
  159.  
  160. *%*Feature: ListPrinterFonts
  161. *%{
  162. *%    *rcNameID: 143
  163. *%    *FeatureType: DOC_PROPERTY
  164. *%    *HelpIndex: 12002
  165. *%    *DefaultOption: PFONTSDISABLED
  166. *%    *Option: PFONTSDISABLED
  167. *%    {
  168. *%        *rcNameID: 161
  169. *%    }
  170. *%    *Option: PFONTSENABLED
  171. *%    {
  172. *%        *rcNameID: 160
  173. *%    }
  174. *%}
  175.  
  176. *Feature: PaperSize
  177. {
  178.     *rcNameID: =PAPER_SIZE_DISPLAY
  179.     *DefaultOption: LETTER
  180.     *Option: LETTER
  181.     {
  182.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  183.         *switch: Orientation
  184.         {
  185.             *case: PORTRAIT
  186.             {
  187.             *%(9600, 12648)
  188. *%                *PrintableArea: PAIR(9600, 12648)
  189.                 *PrintableArea: PAIR(9564, 12600)
  190. *%        *PrintableArea: PAIR(5000,5000)
  191.                 *PrintableOrigin: PAIR(300, 300)
  192. *%        *PrintableOrigin: PAIR(300, 500)
  193.                 *switch: Resolution
  194.                 {
  195.                     *case: Option2
  196.                     {
  197. *% Warning: the following printable width is adjusted (9600->9592) so it is divisible by the resolution X scale.
  198. *% Warning: the following printable length is adjusted (12648->12640) so it is divisible by the resolution Y scale.
  199.                         *PrintableArea: PAIR(9592, 12640)
  200. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  201. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  202.                         *PrintableOrigin: PAIR(304, 304)
  203.                     }
  204.                 }
  205.                 *CursorOrigin: PAIR(300, 180)
  206.                 *Command: CmdSelect
  207.                 {
  208.                 *%5760 -- 7560
  209.                     *Order: DOC_SETUP.10
  210.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7604Y"
  211.                 }
  212.             }
  213.             *case: LANDSCAPE_CC90
  214.             {
  215.             *%(9720, 12648)
  216.                 *PrintableArea: PAIR(9760, 12688)
  217.                 *PrintableOrigin: PAIR(200, 272)
  218.                 *CursorOrigin: PAIR(200, 12960)
  219.                 *Command: CmdSelect
  220.                 {
  221.                     *Order: DOC_SETUP.10
  222.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  223.                 }
  224.             }
  225.         }
  226.     }
  227.     *Option: LEGAL
  228.     {
  229.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  230.         *switch: Orientation
  231.         {
  232.             *case: PORTRAIT
  233.             {
  234.                 *PrintableArea: PAIR(9540, 16248)
  235.                 *PrintableOrigin: PAIR(300, 300)
  236.                 *switch: Resolution
  237.                 {
  238.                     *case: Option2
  239.                     {
  240. *% Warning: the following printable width is adjusted (9600->9592) so it is divisible by the resolution X scale.
  241. *% Warning: the following printable length is adjusted (16248->16240) so it is divisible by the resolution Y scale.
  242.                         *PrintableArea: PAIR(9592, 16240)
  243. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  244. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  245.                         *PrintableOrigin: PAIR(304, 304)
  246.                     }
  247.                 }
  248.                 *CursorOrigin: PAIR(300, 180)
  249.                 *Command: CmdSelect
  250.                 {
  251.                     *Order: DOC_SETUP.10
  252.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  253.                 }
  254.             }
  255.             *case: LANDSCAPE_CC90
  256.             {
  257.                 *PrintableArea: PAIR(9760, 16288)
  258.                 *PrintableOrigin: PAIR(200, 272)
  259.                 *CursorOrigin: PAIR(200, 16560)
  260.                 *Command: CmdSelect
  261.                 {
  262.                     *Order: DOC_SETUP.10
  263.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  264.                 }
  265.             }
  266.         }
  267.     }
  268.     *Option: EXECUTIVE
  269.     {
  270.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  271.         *switch: Orientation
  272.         {
  273.             *case: PORTRAIT
  274.             {
  275.                 *PrintableArea: PAIR(8100, 12000)
  276.                 *PrintableOrigin: PAIR(300, 300)
  277.                 *switch: Resolution
  278.                 {
  279.                     *case: Option2
  280.                     {
  281. *% Warning: the following printable width is adjusted (8100->8096) so it is divisible by the resolution X scale.
  282. *% Warning: the following printable length is adjusted (12000->11992) so it is divisible by the resolution Y scale.
  283.                         *PrintableArea: PAIR(8096, 11992)
  284. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  285. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  286.                         *PrintableOrigin: PAIR(304, 304)
  287.                     }
  288.                 }
  289.                 *CursorOrigin: PAIR(300, 180)
  290.                 *Command: CmdSelect
  291.                 {
  292.                     *Order: DOC_SETUP.10
  293.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  294.                 }
  295.             }
  296.             *case: LANDSCAPE_CC90
  297.             {
  298.                 *PrintableArea: PAIR(8200, 12080)
  299.                 *PrintableOrigin: PAIR(240, 280)
  300.                 *CursorOrigin: PAIR(200, 12360)
  301.                 *Command: CmdSelect
  302.                 {
  303.                     *Order: DOC_SETUP.10
  304.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  305.                 }
  306.             }
  307.         }
  308.         *Constraints: LIST(ColorMode.24bpp)
  309.     }
  310.     *Option: A4
  311.     {
  312.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  313.         *switch: Orientation
  314.         {
  315.             *case: PORTRAIT
  316.             {
  317.                 *PrintableArea: PAIR(9324, 13476)
  318.                 *PrintableOrigin: PAIR(300, 300)
  319.                 *switch: Resolution
  320.                 {
  321.                     *case: Option2
  322.                     {
  323. *% Warning: the following printable width is adjusted (9324->9320) so it is divisible by the resolution X scale.
  324. *% Warning: the following printable length is adjusted (13476->13472) so it is divisible by the resolution Y scale.
  325.                         *PrintableArea: PAIR(9320, 13472)
  326. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  327. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  328.                         *PrintableOrigin: PAIR(304, 304)
  329.                     }
  330.                 }
  331.                 *CursorOrigin: PAIR(300, 180)
  332.                 *Command: CmdSelect
  333.                 {
  334.                     *Order: DOC_SETUP.10
  335.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  336.                 }
  337.             }
  338.             *case: LANDSCAPE_CC90
  339.             {
  340.                 *PrintableArea: PAIR(9464, 13516)
  341.                 *PrintableOrigin: PAIR(220, 272)
  342.                 *switch: Resolution
  343.                 {
  344.                     *case: Option2
  345.                     {
  346. *% Warning: the following printable width is adjusted (9464->9456) so it is divisible by the resolution X scale.
  347. *% Warning: the following printable length is adjusted (13516->13512) so it is divisible by the resolution Y scale.
  348.                         *PrintableArea: PAIR(9456, 13512)
  349. *% Warning: the following printable origin X is adjusted (220->224) so it is divisible by the resolution X scale.
  350.                         *PrintableOrigin: PAIR(224, 272)
  351.                     }
  352.                 }
  353.                 *CursorOrigin: PAIR(200, 13788)
  354.                 *Command: CmdSelect
  355.                 {
  356.                     *Order: DOC_SETUP.10
  357.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  358.                 }
  359.             }
  360.         }
  361.     }
  362.     *Option: A3
  363.     {
  364.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  365.         *switch: Orientation
  366.         {
  367.             *case: PORTRAIT
  368.             {
  369.                 *PrintableArea: PAIR(13428, 19308)
  370.                 *PrintableOrigin: PAIR(300, 300)
  371.                 *switch: Resolution
  372.                 {
  373.                     *case: Option2
  374.                     {
  375. *% Warning: the following printable width is adjusted (13428->13424) so it is divisible by the resolution X scale.
  376. *% Warning: the following printable length is adjusted (19308->19304) so it is divisible by the resolution Y scale.
  377.                         *PrintableArea: PAIR(13424, 19304)
  378. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  379. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  380.                         *PrintableOrigin: PAIR(304, 304)
  381.                     }
  382.                 }
  383.                 *CursorOrigin: PAIR(300, 180)
  384.                 *Command: CmdSelect
  385.                 {
  386.                     *Order: DOC_SETUP.10
  387.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  388.                 }
  389.             }
  390.             *case: LANDSCAPE_CC90
  391.             {
  392.                 *PrintableArea: PAIR(13588, 19368)
  393.                 *PrintableOrigin: PAIR(200, 240)
  394.                 *switch: Resolution
  395.                 {
  396.                     *case: Option2
  397.                     {
  398. *% Warning: the following printable width is adjusted (13588->13584) so it is divisible by the resolution X scale.
  399.                         *PrintableArea: PAIR(13584, 19368)
  400.                     }
  401.                 }
  402.                 *CursorOrigin: PAIR(200, 19608)
  403.                 *Command: CmdSelect
  404.                 {
  405.                     *Order: DOC_SETUP.10
  406.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  407.                 }
  408.             }
  409.         }
  410.         *Constraints: LIST(ColorMode.24bpp)
  411.     }
  412.     *Option: TABLOID
  413.     {
  414.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  415.         *switch: Orientation
  416.         {
  417.             *case: PORTRAIT
  418.             {
  419. *%                *PrintableArea: PAIR(12600, 19800)
  420.                 *PrintableArea: PAIR(12540, 19740)
  421.                 *PrintableOrigin: PAIR(300, 300)
  422.                 *switch: Resolution
  423.                 {
  424.                     *case: Option2
  425.                     {
  426. *% Warning: the following printable width is adjusted (12600->12592) so it is divisible by the resolution X scale.
  427. *% Warning: the following printable length is adjusted (19800->19792) so it is divisible by the resolution Y scale.
  428.                         *PrintableArea: PAIR(12592, 19792)
  429. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  430. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  431.                         *PrintableOrigin: PAIR(304, 304)
  432.                     }
  433.                 }
  434.                 *CursorOrigin: PAIR(300, 200)
  435.                 *Command: CmdSelect
  436.                 {
  437.                     *Order: DOC_SETUP.10
  438.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  439.                 }
  440.             }
  441.             *case: LANDSCAPE_CC90
  442.             {
  443.                 *PrintableArea: PAIR(12600, 19800)
  444.                 *PrintableOrigin: PAIR(300, 300)
  445.                 *switch: Resolution
  446.                 {
  447.                     *case: Option2
  448.                     {
  449. *% Warning: the following printable width is adjusted (12600->12592) so it is divisible by the resolution X scale.
  450. *% Warning: the following printable length is adjusted (19800->19792) so it is divisible by the resolution Y scale.
  451.                         *PrintableArea: PAIR(12592, 19792)
  452. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  453. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  454.                         *PrintableOrigin: PAIR(304, 304)
  455.                     }
  456.                 }
  457.                 *CursorOrigin: PAIR(200, 20100)
  458.                 *Command: CmdSelect
  459.                 {
  460.                     *Order: DOC_SETUP.10
  461.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  462.                 }
  463.             }
  464.         }
  465.         *Constraints: LIST(ColorMode.24bpp)
  466.     }
  467. }
  468. *Feature: MediaType
  469. {
  470.     *rcNameID: =MEDIA_TYPE_DISPLAY
  471.     *DefaultOption: STANDARD
  472.     *Option: STANDARD
  473.     {
  474.         *rcNameID: =PLAIN_PAPER_DISPLAY
  475.         *Command: CmdSelect
  476.         {
  477.             *Order: DOC_SETUP.14
  478.             *Cmd: "<1B>&l0M"
  479.         }
  480.     }
  481.     *Option: TRANSPARENCY
  482.     {
  483.         *rcNameID: =TRANSPARENCY_DISPLAY
  484.         *Command: CmdSelect
  485.         {
  486.             *Order: DOC_SETUP.14
  487.             *Cmd: "<1B>&l4M"
  488.         }
  489.     }
  490. }
  491. *Feature: ColorMode
  492. {
  493.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  494.     *HelpIndex: 12004
  495.     *DefaultOption: 24bpp
  496.     *Option: Mono
  497.     {
  498.         *rcNameID: =MONO_DISPLAY
  499.         *DevNumOfPlanes: 1
  500.         *DevBPP: 1
  501.         *Color? : FALSE
  502.         *Command: CmdSelect
  503.         {
  504.             *Order: PAGE_SETUP.16
  505.             *Cmd: "<1B>&b1M"
  506.         }
  507.     }
  508.     *Option: 24bpp
  509.     {
  510.         *rcNameID: =24BPP_DISPLAY
  511.         *DevNumOfPlanes: 1
  512.         *DevBPP: 24
  513.         *DrvBPP: 24
  514.         *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  515.         *PaletteSize: 256
  516.         *PaletteProgrammable? : TRUE
  517.         *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  518. + "I" }
  519.         *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  520.         *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
  521.         *Command: CmdSelect
  522.         {
  523.             *Order: PAGE_SETUP.16
  524.             *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*"
  525. + "o3W<060400>"
  526.         }
  527.     }
  528. }
  529. *Feature: Halftone
  530. {
  531.     *rcNameID: =HALFTONING_DISPLAY
  532.     *HelpIndex: 12005
  533.     *DefaultOption: HT_PATSIZE_AUTO
  534.     *Option: HT_PATSIZE_AUTO
  535.     {
  536.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  537.     }
  538.     *Option: HT_PATSIZE_SUPERCELL_M
  539.     {
  540.         *rcNameID: =HT_SUPERCELL_DISPLAY
  541.     }
  542.     *Option: HT_PATSIZE_6x6_M
  543.     {
  544.         *rcNameID: =HT_DITHER6X6_DISPLAY
  545.     }
  546.     *Option: HT_PATSIZE_8x8_M
  547.     {
  548.         *rcNameID: =HT_DITHER8X8_DISPLAY
  549.     }
  550. }
  551. *Feature: Memory
  552. {
  553.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  554.     *DefaultOption: 20480KB
  555.  
  556.     *MemConfigKB: PAIR(20480, 17550)
  557.     *MemConfigKB: PAIR(21504, 18450)
  558.     *MemConfigKB: PAIR(22528, 19350)
  559.     *MemConfigKB: PAIR(23552, 20250)
  560.     *MemConfigKB: PAIR(24576, 21150)
  561.     *MemConfigKB: PAIR(25600, 22050)
  562.     *MemConfigKB: PAIR(26624, 22950)
  563.     *MemConfigKB: PAIR(27648, 23850)
  564.     *MemConfigKB: PAIR(28672, 24750)
  565.     *MemConfigKB: PAIR(29696, 25650)
  566.     *MemConfigKB: PAIR(30720, 26550)
  567.     *MemConfigKB: PAIR(31744, 27450)
  568.     *MemConfigKB: PAIR(32768, 28350)
  569.     *MemConfigKB: PAIR(33792, 29250)
  570.     *MemConfigKB: PAIR(34816, 30150)
  571.     *MemConfigKB: PAIR(35840, 31050)
  572.     *MemConfigKB: PAIR(36864, 31950)
  573.     *MemConfigKB: PAIR(37888, 32850)
  574.     *MemConfigKB: PAIR(38912, 33750)
  575.     *MemConfigKB: PAIR(39936, 34650)
  576.     *MemConfigKB: PAIR(40960, 35550)
  577.     *MemConfigKB: PAIR(41984, 36450)
  578.     *MemConfigKB: PAIR(43008, 37350)
  579.     *MemConfigKB: PAIR(44032, 38250)
  580.     *MemConfigKB: PAIR(45056, 39150)
  581.     *MemConfigKB: PAIR(46080, 40050)
  582.     *MemConfigKB: PAIR(47104, 40950)
  583.     *MemConfigKB: PAIR(48128, 41850)
  584.     *MemConfigKB: PAIR(49152, 42750)
  585.     *MemConfigKB: PAIR(50176, 43650)
  586.     *MemConfigKB: PAIR(51200, 44550)
  587.     *MemConfigKB: PAIR(52224, 45540)
  588.     *MemConfigKB: PAIR(53248, 46350)
  589.     *MemConfigKB: PAIR(54272, 47250)
  590.     *MemConfigKB: PAIR(55296, 48150)
  591.     *MemConfigKB: PAIR(56320, 49050)
  592.     *MemConfigKB: PAIR(57344, 49950)
  593.     *MemConfigKB: PAIR(58368, 50850)
  594.     *MemConfigKB: PAIR(59392, 51750)
  595.     *MemConfigKB: PAIR(60416, 52650)
  596.     *MemConfigKB: PAIR(61440, 53550)
  597.     *MemConfigKB: PAIR(62464, 54450)
  598.     *MemConfigKB: PAIR(63488, 55350)
  599.     *MemConfigKB: PAIR(64512, 56250)
  600.     *MemConfigKB: PAIR(65536, 57150)
  601.     *MemConfigKB: PAIR(66560, 58050)
  602.     *MemConfigKB: PAIR(67584, 58950)
  603.     *MemConfigKB: PAIR(68608, 59850)
  604.     *MemConfigKB: PAIR(69632, 60750)
  605.     *MemConfigKB: PAIR(70656, 61650)
  606.     *MemConfigKB: PAIR(71680, 62550)
  607.     *MemConfigKB: PAIR(72704, 63450)
  608.     *MemConfigKB: PAIR(73728, 64350)
  609. }
  610. *Command: CmdStartDoc
  611. {
  612.     *Order: DOC_SETUP.5
  613.     *Cmd: "<1B>&u300D<1B>*r0F"
  614. }
  615. *Command: CmdStartPage
  616. {
  617.     *Order: PAGE_SETUP.1
  618.     *Cmd: "<1B>*b0M<0D>"
  619. }
  620. *Command: CmdEndJob
  621. {
  622.     *Order: JOB_FINISH.1
  623.     *Cmd: "<1B>E<1B>%%-12345X"
  624. }
  625. *Command: CmdCopies
  626. {
  627.     *Order: DOC_SETUP.11
  628.     *Cmd: "<1B>&l" %d{NumOfCopies}"X"
  629. }
  630. *RotateCoordinate?: TRUE
  631. *RotateRaster?: TRUE
  632. *RotateFont?: TRUE
  633. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  634. *MemoryUsage: LIST(FONT)
  635. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  636. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  637. *XMoveThreshold: 0
  638. *YMoveThreshold: 0
  639. *XMoveUnit: 300
  640. *YMoveUnit: 300
  641. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 4) }"X" }
  642. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  643. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  644. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 4) }"Y" }
  645. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  646. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  647. *Command: CmdCR { *Cmd : "<0D>" }
  648. *Command: CmdLF { *Cmd : "<0A>" }
  649. *Command: CmdFF { *Cmd : "<0C>" }
  650. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  651. + "I" }
  652. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  653. *Command: CmdBackSpace { *Cmd : "<08>" }
  654. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  655. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  656. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  657. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  658. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  659. *EjectPageWithFF?: TRUE
  660. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  661. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  662. *OutputDataFormat: H_BYTE
  663. *OptimizeLeftBound?: TRUE
  664. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  665. *CursorYAfterSendBlockData: AUTO_INCREMENT
  666.  
  667. *DefaultFont: 136
  668. *DefaultCTT: 0
  669. *CharPosition: BASELINE
  670. *TTFSEnabled?: TRUE
  671. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153,154,
  672. +                   155,156,157,164,165,166,196,197,198,199,200,201,202,203,209,210,
  673. +                   211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,
  674. +                   227,228,229,230)
  675.  
  676. *MinFontID: 16534
  677. *MaxFontID: 32768
  678. *FontFormat: HPPCL_OUTLINE
  679. *% When the %f format is implemented we can remove the /100 part of
  680. *% CmdSelectFontHeight and CmdSelectFontWidth
  681. *% BUGBUG: MasterUnits.x is hardcoded here!
  682. *% BUGBUG: I'm dividing by 200 because I want to /100 and then /2 for now. 
  683. *% Eigo is looking into whether we're actually given double-width cells.
  684. *% The number 60000 may look strange, but it's 1200/2 * 100.
  685. *Command: CmdSelectFontHeight { *Cmd : "<1B>(s" %d{FontHeight}"V" }
  686. *Command: CmdSelectFontWidth { *Cmd : "<1B>(s" %f{1200 / FontWidth}"H" }
  687. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  688. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  689. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  690. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  691. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  692. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  693. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  694. *MinGrayFill: 1
  695. *MaxGrayFill: 100
  696. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 4) }"A" }
  697. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 4) }"B" }
  698. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  699. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  700. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  701.